Skip to content

Skip skirt on interior LOD tile edges#84

Merged
brendancol merged 1 commit intomasterfrom
issue-79-skirt
Mar 6, 2026
Merged

Skip skirt on interior LOD tile edges#84
brendancol merged 1 commit intomasterfrom
issue-79-skirt

Conversation

@brendancol
Copy link
Contributor

Follow-up to #83 / closes #79

Summary

  • After the +1 tile overlap fix (Fix LOD terrain tile boundary seam artifact #83), both adjacent tiles were generating skirt wall triangles along their shared boundary — overlapping geometry facing opposite directions, causing a subtle shading artifact
  • _add_tile_skirt now accepts an edges=(top, right, bottom, left) flag tuple
  • _build_tile_mesh only requests skirt on exterior edges (where a tile touches the terrain boundary). Interior tiles get zero skirt geometry.

Test plan

  • pytest rtxpy/tests/test_lod.py — 33/33 pass (3 new tests for edge-selective skirt)
  • Visual check: load a DEM, enable LOD (Shift+A), confirm no tile boundary artifacts

With the +1 overlap, both adjacent tiles were generating skirt wall
triangles along their shared boundary — overlapping geometry facing
opposite directions. Now _add_tile_skirt accepts an edges flag tuple
and _build_tile_mesh only requests skirt on exterior (terrain boundary)
edges.
@brendancol brendancol merged commit c40dfdc into master Mar 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LOD terrain tile boundary seam artifact

1 participant